﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ST.Torch.WebApi.Core.Entities.System
{

    public class UtilExcel : BaseEntity, IEntityTypeBuilder<UtilExcel>
    {
        /// <summary>
		/// 纵行1
		/// </summary>
		[MaxLength(100)]
        public string Column1 { get; set; }
        /// <summary>
		/// 
		/// </summary>
		[MaxLength(100)]
        public string Column2 { get; set; }
        /// <summary>
		/// 
		/// </summary>
		[MaxLength(100)]
        public string Column3 { get; set; }
        /// <summary>
		/// 
		/// </summary>
		[MaxLength(100)]
        public string Column4 { get; set; }
        /// <summary>
		/// 
		/// </summary>
		[MaxLength(100)]
        public string Column5 { get; set; }

        public void Configure(EntityTypeBuilder<UtilExcel> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
            entityBuilder.HasKey(u => u.Id);
 
        }
    }
}
